package com.study_platform.service;

import com.alibaba.fastjson2.JSONObject;
import com.study_platform.entity.Question;
import com.study_platform.entity.TestPaper;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author auto
 * @since 2023-04-11
 */
public interface TestPaperService extends IService<TestPaper> {
    Integer getTestId();

    List<Question> createPaper(String grade, String point, Integer testId, String size);
    JSONObject createTestPaper(String grade, String point, Integer testId, String size);
}
